package com.bright.ghj.overt.repository.primary;

import com.bright.ghj.overt.pojo.po.primary.Navigate;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.query.Param;

public interface NavigateRepository extends JpaRepository<Navigate, Integer>, JpaSpecificationExecutor<Navigate> {

    Navigate findByNavNoAndVisibleIsTrue(@Param("navNo") String navNo);

}